package com.zkr.thresho.model;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by lenovo on 2021/1/8.
 */
@Data
public class ThreshoAddVo {
    private Integer threshoId;
    @NotBlank(message = "法人名称不能为空")
    private String legalPersonCode;
    private String legalPersonName;
    @NotBlank(message = "备件编码不能为空")
    private String materialCode;
    private String materialName;
    //@NotBlank(message = "备件小类名称不能为空")
    private String Name;

    @NotNull(message = "数量阀值不能为空")
    @Max(message = "数量阀值不能超过9999", value =9999 )
    private Integer threshonum;
    
    private String remark;
    private String createName;
    private Date createTime;
    private String updateName;
    private Date updateTime;
    private String thresholdNumString;
}
